<jsp:useBean id="manager" scope="session" class="manager.Manager"></jsp:useBean>
<%
	String tmp = request.getParameter("indexMedicament");
	Integer indexMedicament = Integer.parseInt(tmp);
%>

<form action="creerOrdonnance.jsp" method="post">
<table>
	<tr>
		<td>Posologie</td>
		<td>
			<input type="hidden" name="idMedicament" value="<%= manager.getListMedicament().get(indexMedicament).getId() %>" />
			<input type="text" name="posologie" value="<%= manager.getListMedicament().get(indexMedicament).getPosologieStandard() %>" /></td>
	</tr>
	
	<tr>
		<td><input type="submit" name="ajoutPrescription" value="Ajouter" /></td>
	</tr>
</table>
</form>